import { useOpenWalletModal } from '@0xsequence/wallet-widget'function App() { // Get the function to open/close the wallet modal const { setOpenWalletModal } = useOpenWalletModal() // Function to handle opening the wallet inventory const handleViewInventory = () => { setOpenWalletModal(true) // Open the wallet modal to view tokens } return ( <button onClick={handleViewInventory} title="Inventory" > View all tokens in your wallet </button> )}